home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: Alpha / Whiteline Alpha.iso / dl_serie / 050 / docs / english / gspool22.txt < prev    next >
Encoding:
Text File  |  1994-09-25  |  38.0 KB  |  922 lines

  1. **********************************************************************
  2. *                                                                    *
  3. *       GEM Spooler v2.2 -  July 1992                                *
  4. *                                                                    *
  5. *       (c) Steven Van Rossen, Marc Billiet                          *
  6. *                                                                    *
  7. **********************************************************************
  8.  
  9.  
  10. Table of contents
  11. -----------------
  12.  
  13.  0. Shareware
  14.  
  15.  1. Disclaimer
  16.  
  17.  2. About spoolers
  18.  
  19.    2.1 Wat is a spooler ?
  20.    2.2 Spooler types
  21.    2.3 Spooling with the Atari ST
  22.  
  23.  3. GEM Spooler
  24.  
  25.    3.1 Installing GEM Spooler
  26.    3.2 Functions of GEM Spooler
  27.  
  28.    3.3 Manual
  29.  
  30.      3.3.1 Dialogs
  31.  
  32.        3.3.1.0 Dialogs in GEM Spooler
  33.        3.3.1.1 GEM Spooler dialog
  34.        3.3.1.2 Jobs dialog
  35.        3.3.1.3 Timing dialog
  36.        3.3.1.4 Printer dialog
  37.        3.3.1.5 Setup dialog
  38.  
  39.      3.3.2 Adding a job
  40.      3.3.3 Activating GEM Spooler from the keyboard
  41.      3.3.4 BURST mode
  42.      3.3.5 Resetting a job
  43.  
  44.    3.4 Known problems with GEM Spooler
  45.    3.5 GEM Spooler with Gemini
  46.    3.6 GEM Spooler with Chameleon
  47.  
  48.  4. Technical notes
  49.  5. Gem Spooler support BBS
  50.  6. Credits...
  51.  7. Adresses
  52.  
  53.  
  54.  
  55. 0. Shareware
  56. ------------
  57.  
  58. GEM Spooler is shareware. GEM Spooler can be copied on condition that the
  59. distribution files remain unchanged. Public domain or shareware distributors
  60. may distribute GEM Spooler if they don't charge more than the usual copy
  61. costs. You can evaluate GEM Spooler one month. If you continue to use
  62. GEM Spooler after this period, you have to register your copy by paying
  63. the shareware contribution. If you don't, you are using an illegal copy
  64. and legal action can be used against you.
  65.  
  66. The registration fee is 600 BEF (or: 30 Hfl, 30 DEM, 30 US Dollar or
  67. equivalent). To register, print out the registration form REGISTER.TXT,
  68. fill it in and send it together with a 3 1/2 inch diskette to:
  69.  
  70.    Steven Van Rossen            of:       Marc Billiet
  71.    G. Garittestraat 22                    Herman Terlinckstraat 33
  72.    B 2600 Berchem                         B 2600 Berchem
  73.    BELGIUM                                BELGIUM
  74.  
  75. You can pay cash along with your registration letter or pay into account:
  76.  
  77.   000-1617760-91   (Post Account)
  78.  
  79. If you register, you get:
  80.  
  81.   - The latest version of GEM Spooler, without copyright notice
  82.      and with all options accessible
  83.  
  84.   - Free updates (sending costs only)
  85.  
  86.   - Several tools, PDF and CTB files
  87.  
  88.   - Technical support
  89.  
  90.  
  91. WHY REGISTER SHAREWARE ?
  92.  
  93. If you are not convinced by the advantages of registering GEM Spooler
  94. (as mentioned above), please consider the following:
  95.  
  96. - Consider that shareware is a form of software distribution in the user's
  97.   advantage; shareware is the only fully functional software you can test
  98.   thoroughly before buying. The advantage is clear: you know what you're
  99.   buying !
  100.  
  101. - Consider also that shareware supports your computer platform. Shareware
  102.   programs usually offer solutions you won't find among traditional commer-
  103.   cial software, because they would have been too expensive to develop 
  104.   or - worse - because your computer platform is not exactly known as the
  105.   chicken-that-lays-the-golden-eggs (there is only one like that) and there-
  106.   fore not of interest for the bigger software houses.
  107.  
  108. - Step into the shoes of shareware-authors: writing a good shareware
  109.   program costs a lot of precious time and hard work. Nevertheless,
  110.   they have chosen for shareware distribution instead of traditional
  111.   distribution (higher prices) to make their software available to as
  112.   many users as possible at a democratic price.
  113.  
  114. Therefore we ask explicitly: stick to fair play and register the shareware
  115. you use. If you don't, you severely damage the author's interests (no
  116. revenue), the market strength of your computer platform (no more interest
  117. from shareware authors) and YOURSELF (no more software for your computer).
  118. If users systematically don't register shareware, the whole shareware
  119. concept is endangered. In fact, this is already happening in Europe !
  120. In contrast to the US, users in Europe don't seem to realize that shareware
  121. is not for free and the consequences of this situation can already be felt:
  122. more and more ST shareware authors have given their programs into the hands
  123. of commercial software distributors, because it is the only way to get some
  124. revenue from their product. Ironically enough, most users seem eager
  125. to buy the same program through traditional channels, although the price is
  126. usually higher than the shareware price...
  127.  
  128.  
  129. 1. Disclaimer
  130. -------------
  131.  
  132. Although GEM Spooler has been thoroughly tested and works very fine,
  133. the authors take no responsibility for any damage that might occur
  134. (implicit or explicit) when using GEM Spooler or one of the related
  135. programs.
  136.  
  137.  
  138.  
  139. 2. About spoolers
  140. -----------------
  141.  
  142. 2.1 What is a spooler ?
  143. -----------------------
  144.  
  145. Everybody who prints a lot knows the problem: it takes very long before
  146. the computer is available again, because the computer has to wait for the
  147. slow printer. Fortunately there are spoolers...
  148. Spoolers collect very fast all output to the printer and return control
  149. to the computer. While the user can go on with his other work, the spooler
  150. will send the output little by little to the printer.
  151.  
  152.  
  153. 2.2 Spooler types
  154. -----------------
  155.  
  156. To collect the printer output, spoolers need a (fast) buffer in RAM or
  157. on disk. According to the type of this buffer, there are two types of
  158. spoolers: ram spoolers and disk spoolers. Disk spoolers are mainly used
  159. on large systems (mainframes, minis). Ram spoolers are mostly found on
  160. microcomputers.
  161.  
  162. A ram spooler reserves a part of the internal memory as buffer. The size
  163. of this buffer can be chosen. The advantage of a ram spooler is speed (RAM
  164. is fast memory), but there are also some disadvantages:
  165.  
  166.  - The buffer consumes (expensive) RAM
  167.  
  168.  - There is a limit to the printer output. e.g.: if you print some graphics,
  169.    this can easily create up to 1 Mb of output. But if your spooler's buffer
  170.    is 512 Kb, the computer will have to wait to receive the last 512 Kb
  171.    until the printer has processed the first 512 Kb.
  172.  
  173.  - You can't delete something you printed without clearing the whole buffer
  174.    (which could contain other print jobs !)
  175.  
  176.  - If there is a system crash, the whole buffer is lost (in RAM !)
  177.  
  178. Disk spoolers don't have these problems. They make it possible to follow up
  179. each print job individually: every job is added to a queue where it can be
  180. changed or deleted at any time. After a reset, disk spoolers resume their
  181. work as if nothing ever happened (all information is still on disk !)
  182. The only disadvantage of disk spoolers is that they require fast disk
  183. capacity, usually a hard disk.
  184.  
  185.  
  186.  
  187. 2.3 Spooling with the Atari ST
  188. ------------------------------
  189.  
  190. The Atari ST has always been a computer with lots of RAM (compared to the
  191. competition). Programmers responded to this with a large offer of ram
  192. spooler utilities (accessory or program), in many cases combined with a ram
  193. disk. Without doubt, this is a very good solution for ST users without
  194. harddisk. The latest evolution in computing however, changes this situation
  195. thoroughly. Desktop publishing programs, powerful wordprocessors, graphic
  196. programs etc. use more and more RAM. As RAM is quite expensive, these
  197. programs tend to use the hard disk instead: parts of RAM memory are save to
  198. disk and loaded whenever needed. This technique is refered to as 'virtual
  199. memory'. As a result of this evolution, lots of ST users now have a harddisk.
  200. This makes disk spooling (as found on large systems) also interesting for
  201. those users. GEM Spooler makes it possible !
  202.  
  203.  
  204.  
  205. 3. GEM Spooler
  206. --------------
  207.  
  208. GEM Spooler is - as far as we know - the first disk spooler for the Atari
  209. ST. While other operating systems have always used disk spooling (minis,
  210. OS/2, Macintosh, Windows 3) the ST missed this feature. With GEM Spooler
  211. this is history.
  212.  
  213.  
  214.  
  215. 3.1 Installing GEM Spooler
  216. --------------------------
  217.  
  218. GEM Spooler runs on every Atari ST, STE, Mega ST and Mega STE. It also
  219. works on the TT. Up from version 2.1b, the spooler also survives resolution
  220. changes on the TT (we thank Pascal Fellerich for his useful hints).
  221. GEM Spooler runs on all official TOS releases (from 1.0 up to 2.06 or 3.06).
  222. As soon as the FALCON is widely available (come on Atari, beat up the compe-
  223. tition !), we'll test GEM Spooler on it.
  224.  
  225. A harddisk is not necessarily, but recommended. GEM Spooler doesn't need
  226. much RAM (see: Technical notes) and even feels at ease at a 520ST.
  227.  
  228. To install GEM Spooler, you proceed as follows:
  229.  
  230. a) Insert the GEM Spooler diskette in a drive and open a window to show its
  231.    contents.
  232.  
  233. b) Copy the folder GSPOOL22 to the root directory of your boot disk (e.g.
  234.    A:\ or C:\).
  235.  
  236. c) Open the folder GSPOOL22 (diskette) and copy GSPOOL2.ACC to the root
  237.    directory of your boot disk.
  238.  
  239. d) Open the folder PDF, select the appropriate *.PDF file (e.g. EPSON.PDF)
  240.    for your printer, copy it to the root of your boot disk and rename it
  241.    to GSPOOL2.PDF.
  242.  
  243. e) Open the folder CTB, select the appropriate *.CTB file (e.g. EPSON.CTB)
  244.    for your printer, copy it to the root of your boot disk and rename it
  245.    to GSPOOL2.CTB.
  246.  
  247. f) Reboot your ST.
  248.  
  249. If you are upgrading from GEM Spooler 2.0, you can convert your favourite
  250. 2.0 PDF to a 2.2 PDF with PDFMAKE and you can change your 2.0 CTB to a 2.2
  251. CTB with CTBBUILD.
  252.  
  253.  
  254. 3.2 Functions of GEM Spooler
  255. ----------------------------
  256.  
  257. GEM Spooler redirects all printer output to files (jobs). For each printout
  258. you start, a job is created. These jobs are put in a queue (the printer
  259. queue) and are processed in FIFO order (First in, first out).
  260.  
  261. GEM Spooler is an accessory and can be accessed from within every GEM
  262. program to watch and control the queue:
  263.  
  264. - the job sequence can be changed (priority, status)
  265. - jobs can be deleted
  266. - jobs can be sent to different output ports (printer/modem)
  267. - jobs can be filtered (character table): e.g. ë can be translated to e,
  268.   backspace, trema before sending it to the printer
  269. - a job can be processed several times (copies)
  270. - jobs can be kept on disk to use later; e.g. you could spool something on
  271.   your ST, keep the job and spool it on a friend's ST (who has a laser
  272.   printer !)
  273. - the whole queue can be halted (and released) with one mouse click !
  274. - the whole queue can be deleted
  275.  
  276. GEM Spooler's queue 'survives' system crashes. After a reset, the spooler
  277. simply resumes its work. GEM Spooler is also very safe to use: it is pure
  278. GEM, respects the XBRA-protocol, places a system cookie and cooperates
  279. with Gemini through the AV-protocol (more about this under: Technical notes).
  280.  
  281.  
  282. 3.3 Manual
  283. ----------
  284.  
  285. 3.3.1 Dialogs
  286. -------------
  287.  
  288. 3.3.1.0 Dialogs in GEM Spooler
  289. ------------------------------
  290.  
  291. The dialogs in GEM Spooler have two new features compared with standard
  292. GEM dialogs:
  293.  
  294.  Movable; This is very handy if the dialog just covered information you
  295.  could use when answering the dialog. To move a dialog, you can click the
  296.  small box in the upper right corner (= move-box). A drag box appears and
  297.  lets you reposition the dialog.
  298.  
  299.  Look through...; If you hold the Alternate key when clicking the move-box,
  300.  the dialog will disappear before moving. This feature enables you to look
  301.  through the dialog... If you release your mouse button, the dialog will
  302.  reappear.
  303.  
  304.  
  305.  
  306. 3.3.1.1 GEM Spooler dialog
  307. --------------------------
  308.  
  309. Choose GEM Spooler v2.2 in the accessory menu and the GEM Spooler dialog
  310. is opened. There you see (top, middel and bottom):
  311.  
  312. * Top:
  313.  
  314. GEM Spooler v2.2        Name and version number of GEM Spooler. Click on it
  315.                         to see the copyright notice.
  316.  
  317. NO ERROR(S) OCCURED     Error indicator: if an error occured during the
  318.                         spooling process, this text will change to 'ERROR(S)
  319.                         OCCURED)
  320.  
  321. BYTES PROCESSED:        Shows the number of bytes that have been processed
  322.                         for the active job
  323.  
  324.  
  325. * Middle
  326.  
  327. In the middle you see the queue window where jobs are displayed:
  328.  
  329.    C:\TEXT\ASCII.TST               P   Wait  1 --R   1
  330.    D:\DOCS\README                  M   Hold  3 F--  10
  331.    C:\SPOOLING\SPL0.PRN            P   Wait  3 -T-   2
  332.  
  333.    |                               |         | |||   |-> Copies
  334.    |                               |         | |||
  335.    |                               |         | |||-> Reset printer: R (on)
  336.    |                               |         | ||                   - (off)
  337.    |                               |         | ||
  338.    |                               |         | ||-> Trash:  T (on)
  339.    |                               |         | |            - (off)
  340.    |                               |         | |
  341.    |                               |         | |--> Filter: F (on)
  342.    |                               |         |              - (off)
  343.    |                               |         |
  344.    |                               |        |-> Priority: 1-5
  345.    |                               |
  346.    |-> job path + filename         |-> Port: P - Printer
  347.                                              M - Modem
  348.  
  349. You can (de)select a job with a simple mouse click.
  350.  
  351.  
  352. * Bottom
  353.  
  354. You can click the following buttons:
  355.  
  356. Spool        Select a file to spool (the GEM fileselector appears)
  357.  
  358. Jobs         Changes the attributes of a chosen job (selection) or the
  359.              attributes of every new job (no selection) (see: Jobs dialog)
  360.  
  361. Printer      Give printer commands, choose the printer driver and the filter
  362.              (character table)
  363.  
  364. Delete       Deletes all jobs (no selection) or a job (selection). GEM
  365.              Spooler always asks you to confirm this operation:
  366.              Delete jobs ? / Delete all jobs ? (yes/no)
  367.  
  368. Sort         Resort the queue (after a change) immediately. Normally, GEM
  369.              spooler resorts the queue in background before opening a new
  370.              job. But if you changed a job's attributes you and you want to
  371.              see the result immediately, you can click 'Sort'. The criteria
  372.              for sorting the queue are:
  373.  
  374.              Status:     Wait = Keep > Hold = Error   (> priority,
  375.                                                        = equal)
  376.              Priority:   1 > 2 > 3 > 4 > 5            (> priority)
  377.  
  378. Setup        Set the defaults for GEM Spooler (see: Setup dialog)
  379.  
  380. Timing       Set the timing variables for the spooler. These variables
  381.              determine the spooler's speed (see: Timing dialog).
  382.  
  383. Save         Save all defaults. All defaults are saved in a file "GSPOOL2.INF"
  384.              in the root directory of your boot disk.
  385.  
  386.              WARNING ! This option saves ALL internal GEM Spooler settings, including
  387.              paths, default job attributes, redirection path, the Halt Queue status
  388.              etc. The next time you boot, GEM Spooler will set these settings
  389.              automatically.
  390.  
  391. Halt all     Click on this square to halt or release the queue (if the square
  392.              is crossed, the queue is halted).
  393.  
  394. Quit         Quit the spooler...
  395.  
  396.  
  397.  
  398. 3.3.1.2 Jobs dialog
  399. -------------------
  400.  
  401. With this dialog, you can change a job's attributes. If no job is selected,
  402. this dialog will show the attributes that are assigned to every new job
  403. (job defaults). If a job is selected, the dialog shows the attributes for
  404. the selected job. The difference is visible in the right upper corner:
  405. '(new jobs)' is displayed when editing the default job attributes,
  406. the job name is displayed (e.g. PRN0.SPL) when editing a selected job.
  407.  
  408. Filter       Enable character translation while printing. This option only
  409.              works if a character translation table (CTB) is loaded (see:
  410.              Printer dialog).
  411.  
  412. Trash        Trash the job file after spooling. If selected, the job file is
  413.              deleted as soon as the job has finished.
  414.  
  415. Reset        Reset the printer. If selected, the printer will be reset
  416.              before and after spooling a job.
  417.  
  418. Copies       The number of copies (1 to 99) for this job
  419.  
  420. Status       The job status:
  421.  
  422.              Wait     The job is waiting to be processed
  423.              Hold     The job is held (will not be processed)
  424.              Keep     The job is processed once and put in hold
  425.              Error    An error occured while processing the job
  426.  
  427.              You can change the status by clicking on it (have a try !). If
  428.              you click on an error status, an alert box with the reason for
  429.              the error is shown. Answer 'OK' and the job will be reset to
  430.              Wait status.
  431.  
  432. Priority     The job's priority, varying from 1 (highest) to 5 (lowest).
  433.              A job with higher priority will be processed before a job
  434.              with lower priority. To change the priority, click on the
  435.              priority number.
  436.  
  437. Output port  The port GEM Spooler wil spool the job to: printer/modem, in
  438.              other words: parallel or serial. IMPORTANT: when spooling to
  439.              the serial port, the printer output is sent in blocks without
  440.              any further control (using the GEMDOS functions). This means you
  441.              have to be careful when setting the spooler's timing (too fast
  442.              printing can block the foreground task). Actually, serial
  443.              spooling was built in to experiment with null-modem cabling etc.
  444.              Up to version 2.1b from GEM Spooler, problems could arise when
  445.              printing serial together with programs that can redirect
  446.              input/output handles (Gemini, Pure C, Turbo C).
  447.              Again, this is caused by ambiguity of TOS on this point. GEM
  448.              Spooler 2.2 solves the problem an other way, avoiding trouble
  449.              with I/O redirection: more about it under technical notes.
  450.  
  451. Form feeds   Indicates when GEM Spooler has to send a form feed instruction
  452.              to the printer. You have the choice:
  453.  
  454.                 Begin          Form feed at the begin of a job
  455.                 End            Form feed at the end of a job
  456.                 Begin+End      Form feeds at the begin and the end of a job
  457.  
  458. Accept       Accept all changes and close the dialog
  459.  
  460. Cancel       Cancel all changes and close the dialog
  461.  
  462.  
  463. NOTE: a double click on a job will automatically open the 'Jobs dialog'
  464.       for that job
  465.  
  466.  
  467.  
  468. 3.3.1.3 Timing dialog
  469. ---------------------
  470.  
  471. The timing dialog shows all parameters that determine the spooling speed.
  472. Before we go into detail, we first have to explain the two types of spooling
  473. GEM Spooler is capable of: block driven and interrupt driven spooling.
  474.  
  475. Both methods are event driven. This means that the spooling process is
  476. activated every x seconds if and only if the program on the foreground
  477. is waiting for an event, e.g. a key pressed, a mouse click etc. All GEM
  478. programs behave this way.
  479.  
  480. Thus, every x seconds GEM Spooler is given control by GEM. What happens at
  481. this moment ? If the spooling is block driven, a whole block of data is sent
  482. to the printer. This block with size Y is taken out of a RAM buffer with
  483. size Z that contains the output. This buffer is a so called 'file buffer',
  484. a small part of memory where GEM Spooler will store a piece of the file
  485. it has to spool to reduce the number of disk operations.
  486.  
  487. An example:
  488.  
  489. A printjob of 500 Kb is spooled in blocks of 5 Kb. The file buffer is 50 Kb
  490. and the event timer is set to 3. To complete this job, GEM Spooler will have
  491. to read 10 times 50 Kb from disk. Every 3 seconds, 5 Kb are sent to the
  492. printer. Without file buffer GEM Spooler had to read 100 times 5 Kb !
  493.  
  494. Block driven spooling is very fast but also has a disadvantage: it can
  495. happen that a block is sent to the printer before the previous block was
  496. completely printed. This causes a slight delay in the foreground task.
  497.  
  498. Example: the printer has its own buffer of 10 Kb and GEM Spooler sends
  499. blocks of 5 Kb every 3 seconds. After 6 seconds of spooling, the printer's
  500. buffer will be full (2 times 5 Kb). The printer then has 3 seconds to free
  501. 5 Kb of its buffer before the next 5 Kb are sent. Suppose that for some
  502. reason the printing is slow (e.g. graphics) and the printer has only freed
  503. 3 Kb when the next block is sent. In that case, there will be a slight
  504. delay: the ST waits till the printer accepts the last 2 Kb, in other words:
  505. till the printer has freed up another 2 Kb (in addition of the 3Kb).
  506.  
  507. If the block size is not greater than the printer's buffer and if the event
  508. timer interval (x seconds) is large enough to enable the printer to process
  509. all data in time, there will be no significant delays. If there is a delay,
  510. this will only be visible during intensive foreground tasks (e.g. scrolling).
  511.  
  512. To avoid this problem, GEM Spooler also offers interrupt driven spooling;
  513. a job is started by sending a block to the printer, but to decide when a new
  514. block is to be sent, GEM Spooler uses the busy interrupt:
  515.  
  516.   The printer continuously sends a signal to the computer. If the printer
  517.   is busy, the signal is high; if the printer is ready, the signal is low.
  518.   This signal is called the BUSY signal.
  519.   GEM Spooler links the BUSY signal to an interrupt: if the signal goes
  520.   high (printer busy) the ST interrupt system waits till the signal goes low
  521.   again (printer ready). The change from high to low starts the actual BUSY
  522.   interrupt: all foreground tasks are halted and control is given to GEM
  523.   Spooler. GEM Spooler then sends byte per byte to the printer until he's
  524.   busy again... This goes lightning fast !
  525.  
  526. The result is fast spooling to the printer without delays (because GEM
  527. Spooler knows exactly when the printer is ready to receive new data).
  528. Therefore, if your printer supports the busy line (all centronics printers
  529. do) we advise you to always enable the busy interrupt..
  530.  
  531. To control all this, the timing dialog offers:
  532.  
  533. Use busy interrupt  If selected, spooling is interrupt driven, other-
  534.                     wise it's block driven. Changes are only possible when
  535.                     no job is active.
  536.  
  537. Event timer         The event timer interval: the spooler is activa-
  538.                     ted by GEM every x seconds (x is the value).
  539.  
  540. Timeout: x seconds  The timeout is a very important parameter to GEM
  541.                     Spooler. It is used to determine when an application
  542.                     has stopped printing.
  543.  
  544.                     Example: you are printing with your wordprocessor. GEM
  545.                     Spooler redirects the output. After 60 seconds, GEM
  546.                     Spooler receives no further printer output. What is
  547.                     happening ? There are two possibilities: either the
  548.                     printing is done or the application has to think some
  549.                     time before continuing to print. GEM Spooler will now
  550.                     use the timeout to determine what's up. If the timeout
  551.                     is 10 seconds, GEM Spooler will wait 10 seconds for new
  552.                     printer output. If new printer output is received within
  553.                     these 10 seconds, GEM Spooler will continue redirecting,
  554.                     otherwise the redirection is stopped and all received
  555.                     data is saved to a new job.
  556.  
  557.                     NOTE: the correct setting for the timeout depends on the
  558.                     speed with which your applications print. Set a value
  559.                     that suits your slowest printing application, but not
  560.                     more. A lower timeout speeds up job handling ! Generally,
  561.                     5 to 20 seconds should work fine.
  562.  
  563. Print block         The size of the blocks that are sent to the
  564.                     printer (bytes).
  565.  
  566. RAM buffer (BOOT)   The size of the file buffer (in RAM). Changes
  567.                     only become effective after saving the defaults
  568.                     and rebooting.
  569.  
  570. Accept              Accept all changes and quit the timing dialog.
  571.  
  572. Cancel              Cancel all changes and quit the timing dialog.
  573.  
  574.  
  575.  
  576. 3.3.1.4 Printer dialog
  577. ----------------------
  578.  
  579. This dialog gives you direct control over your printer: e.g. to send a form
  580. feed command (page eject) to the printer.
  581.  
  582. At the right of the dialog title, you can see for which printer GEM Spooler
  583. has been installed. You can change the printer driver by clicking on the
  584. printer name. A fileselector appears and asks you for a Printer Definition
  585. File (PDF). A click on 'OK' loads the new driver. A PDF file can be created
  586. or changed with the printer installation utility PDFMAKE.PRG (please read
  587. PDFMAKE.TXT for additional information).
  588. If you want GEM Spooler to start up with a certain PDF automatically, rename
  589. the PDF file to GSPOOL2.PDF and place it in the root of the boot disk.
  590.  
  591. Other choices in the printer dialog are:
  592.  
  593. FF            Sends a form feed
  594.  
  595. LF            Sends a line feed
  596.  
  597. Reset         Resets the printer. This can take some time, because the
  598.               printer first processes all information in its buffer.
  599.  
  600. Clear         Clears the printer's buffer. This can take some time too.
  601.  
  602. User1         User 1 to 4; these are user defined printer commands
  603. User2         These buttons can have other names if they were renamed by
  604. User3         the active PDF (edit with PDFMAKE.PRG).
  605. User4
  606.  
  607. Filter        The name of the filter that will be used when spooling jobs
  608.               with the filter option set. The filter is a table with all
  609.               ASCII characters and their translation in printer codes.
  610.  
  611.               e.g. 139 = 105, 008, 126   or:   = i <Backspace> <Trema>
  612.  
  613.               If no filter is installed, the button indicates 'NO FILTER!'.
  614.               You can load/change a filter by clicking on the filter's name.
  615.               A fileselector will appear to ask you for a CTB file (Character
  616.               TaBle). Select a CTB and click OK to install the filter.
  617.               You can make CTB files with the CTBBUILD or CTBMAKE program
  618.               (read CTBMAKE.TXT or CTBBUILD.TXT for more information).
  619.               GEM Spooler automatically loads a filter when starting up if
  620.               it's named GSPOOL2.CTB and if it's located in the root direc-
  621.               tory of your boot disk.
  622.  
  623.  
  624.  
  625. 3.3.1.5 Setup dialog
  626. --------------------
  627.  
  628. This dialog controls some general settings for GEM Spooler:
  629.  
  630. Grow/shrink boxes   Indicates whether GEM Spooler has to draw grow/shrink
  631.                     boxes when opening a dialog.
  632.  
  633. Queue logging       Turns the queue logging on or off. If queue logging is
  634.                     on, GEM Spooler will create a log file in the spooling
  635.                     directory to keep track of all spooling operations.
  636.                     If queue logging is activated, GEM Spooler will
  637.                     resume spooling automatically after system crashes
  638.                     (reset).
  639.  
  640. Prompt job settings If this option is active, GEM Spooler will ask you
  641.                     immediately for the job settings of every new job.
  642.  
  643.                     e.g. You are printing with your spreadsheet program.
  644.                          After redirecting the output, GEM Spooler will
  645.                          open the Jobs dialog above your spreadsheet (!)
  646.                          to ask you for the settings of the new job.
  647.  
  648. Intelligent filter  If the intelligent filter is active, GEM Spooler will
  649.                     check every job file for which a filter has been set.
  650.                     It the job file contains no text (binary), GEM Spooler
  651.                     will desactivate the filter. This way, you can set
  652.                     the filter option on for all jobs !
  653.                     Note that the text/binary check is made the first time
  654.                     GEM Spooler fills the file buffer for a certain job:
  655.                     every character in the file buffer is controlled and
  656.                     binary characters are counted. If only one binary
  657.                     character is found, the filter is turned off. If you use
  658.                     this option, make sure your file buffer is not too small,
  659.                     otherwise the binary check routine could miss a binary
  660.                     character !  A normal file buffer (1024 bytes at least)
  661.                     should give very good results. The system is - evidently
  662.                     enough - not 100% waterproof: if a text file contains
  663.                     some binary characters near the end of the file, GEM
  664.                     Spooler will not notice this (unless the whole file fits
  665.                     in the file buffer). Anyway, such a text file would be
  666.                     damaged ! Let us say this check is 99% waterproof...
  667.  
  668. Redirect output     With this option activated, GEM Spooler will redirect
  669.                     and spool all printer output generated by the programs
  670.                     you run. If the option is deactivated, printer output
  671.                     will not be redirected and only the manually selected
  672.                     files (see: 'Spool') are spooled.
  673.  
  674. [ PATH ]            Click this button to select the path were GEM Spooler
  675.                     has to store the redirected output (the jobs). A file-
  676.                     selector appears. Select the desired path and confirm
  677.                     with 'OK' (you can save this path as default with
  678.                     'Save' in the GEM Spooler dialog).
  679.  
  680.                     NOTE: jobs with redirected output are given a name
  681.                     with PRN as prefix, followed by a number and the
  682.                     suffix .SPL; e.g. PRN0.SPL, PRN1.SPL, PRN5.SPL
  683.                     For all these files, the TRASH option is set.
  684.  
  685. Accept              Accept the changes and quit the setup dialog.
  686.  
  687. Cancel              Cancel the changes and quit the setup dialog.
  688.  
  689.  
  690.  
  691. 3.3.2 Adding a job
  692. ------------------
  693.  
  694. A job can be added to the spooler queue in two ways:
  695.  
  696. 1) As redirected output of a program.
  697.  
  698.    In that case, GEM Spooler gives the file (the job) a temporary name
  699.    PRNxxxxx.SPL (x: 0, ..., 9) and stores it in the 'spooling directory'
  700.    (see: Setup dialog). The job is assigned the default job attributes,
  701.    except for the TRASH option. This option is always enabled.
  702.  
  703. 2) As a file selected by the user:
  704.  
  705.    You select a file to spool with the 'Spool' option. GEM Spooler will
  706.    give this job all the default job attributes (be careful with the TRASH
  707.    option !). There is however an exception: the options TRASH and FILTER
  708.    can be forced to 'enabled', regardless of the default job attributes.
  709.    To do this, hold the following keys while clicking 'OK' in the file-
  710.    selector:
  711.  
  712.           <Left SHIFT>               to enable FILTER
  713.           <ALTERNATE>                to enable TRASH
  714.           <Left SHIFT><ALTERNATE>    to enable FILTER and TRASH
  715.  
  716.  
  717.  
  718. 3.3.3 Activating GEM Spooler from the keyboard
  719. ---------------------------------------------
  720.  
  721. GEM Spooler can be activated from the keyboard: hold both <CONTROL> and
  722. <Right SHIFT> and wait for GEM Spooler to appear. This option can be very
  723. useful if for some reason the menu bar can't be used (this will only work
  724. in GEM Programs).
  725.  
  726.  
  727.  
  728. 3.3.4 BURST mode
  729. ----------------
  730.  
  731. If BURST mode is activated, spooling in background is stopped and all jobs
  732. are continuously printed in foreground. Burst mode thus provides in a fast
  733. method to 'empty' the whole queue.
  734.  
  735. To activate BURST mode, hold the <CONTROL> and <ALTERNATE> keys until an
  736. alertbox - "Enable burst mode. Yes/No" - appears. 'Yes' starts burst mode.
  737.  
  738.  
  739.  
  740. 3.3.5 Resetting a job
  741. ---------------------
  742.  
  743. Sometimes, it can be useful to reset a job. Resetting a job stops
  744. the spooling and restores the previous status of the job.
  745.  
  746. To reset a job, hold the CONTROL key down and click on the job in the
  747. queue display. GEM Spooler will ask you to confirm. Answer 'Yes' to reset
  748. the job.
  749.  
  750. NOTE: You can only reset a job if it has the 'Print' status.
  751.  
  752.  
  753.  
  754. 3.4 Known problems with GEM Spooler
  755. -----------------------------------
  756.  
  757. As far as we know, GEM Spooler v2.2 works fine with all applications,
  758. excepted with:
  759.  
  760. - Other spoolers. This is obvious, because there can only be one spooler
  761.   to spool efficiently.
  762.  
  763. - GEM Spooler is - just like all other spoolers - unable to redirect the
  764.   output from applications that print directly to the parallel/serial port.
  765.  
  766. - Some programs that mess around with vectors and interrupts: beware of
  767.   programs that change the system without respecting the XBRA-protocol.
  768.   They cause trouble with all other system utilities !
  769.  
  770. That's all. If someone should discover a problem, don't hesitate to
  771. write us ! We always try to fix the problem as fast as possible !
  772.  
  773.  
  774.  
  775. 3.5 GEM Spooler and Gemini
  776. --------------------------
  777.  
  778. GEM Spooler communicates with the popular desktop replacement Gemini
  779. (shareware from Gereon Steffens and Stefan Eissing), using the
  780. AV-protocol (read the technical notes that come with Gemini).
  781.  
  782. You can install GEM Spooler as an icon on the Gemini desktop. Every file
  783. you drop on this icon will be spooled. There is no limitation to the number
  784. of icons you can drop. If you double click the GEM Spooler icon, you can
  785. activate the accessory.
  786.  
  787. It is also possible to assign files with a certain extension to GEM Spooler.
  788. You can double click such a file to spool it. To install this:
  789.  
  790. - select the GEM Spooler icon
  791. - choose 'Install application'
  792. - enter the desired extension, e.g. *.PRT;*.OUT
  793. - click 'OK'
  794. - save the Gemini defaults (Save defaults)
  795.  
  796.  
  797. 3.6 GEM Spooler and Chameleon
  798. -----------------------------
  799.  
  800. GEM Spooler can also be used with Chameleon. Chameleon is an accessory from
  801. Karsten Isakovic (public domain, also on the Gemini distribution disks) that
  802. allows you to load and remove accessories ! This also works with GEM Spooler
  803. but there are two things you should pay attention to:
  804.  
  805. 1.  On the Gemini desktop, you can drop files on the Chameleon icon. Chame-
  806.     leon automatically passes these files to the accessory loaded, in this
  807.     case GEM Spooler. However, while there is no limit for GEM Spooler in
  808.     accepting files from Gemini, Chameleon (v1.19) could crash if you drop
  809.     too many files on its icon. 10 seems to be the maximum. This problem
  810.     does not occur if GEM Spooler is installed as independent accessory.
  811.  
  812. 2.  If you removed GEM Spooler with Chameleon and you want to reload it
  813.     afterwards, GEM Spooler will warn you that it has already been instal-
  814.     led before. You can answer with:
  815.  
  816.     Desinfect:  Neutralize GEM Spooler. If there is an other GEM Spooler
  817.                 installed, this is the only correct answer. It is dangerous
  818.                 to install a spooler two times.
  819.  
  820.     Tolerate:   Tolerate a second installation. If GEM Spooler was already
  821.                 installed but afterwards removed (Chameleon), you can still
  822.                 reinstall it by answering 'Tolerate'.
  823.  
  824.     REMARK: Those who adore danger and try to install GEM Spooler 2 times
  825.     (with 'Tolerate') will notice that one GEM Spooler will redirect the
  826.     output of the other GEM Spooler. At the end everything will be printed
  827.     as usual (did you expect a crash ? Sorry !)
  828.  
  829.  
  830. 4. Technical notes
  831. ------------------
  832.  
  833. GEM Spooler redirects some system vectors/functions:
  834.  
  835.   Gemdos trap #1
  836.   Bios   trap #13
  837.  
  838.   MFP Parallel port
  839.  
  840.   prt_stat
  841.   prt_vec
  842.  
  843.   aux_stat
  844.   aux_vec
  845.  
  846. This is done following the XBRA protocol. The identification code is 'GSP1'.
  847. If a cookie jar is installed, GEM Spooler also places a cookie in the jar
  848. with the name 'GSP1'. By using this cookie, other programs can pass
  849. information to GEM Spooler (read the Programmers's notes).
  850.  
  851. GEM Spooler consumes about 57 Kb of RAM without the file buffer (1 Kb mini-
  852. mum).
  853.  
  854. When printing over the serial port, GEM Spooler uses the GEMDOS functions.
  855. These functions use the default serial port which STE and TT users can
  856. change in the Extend Control Panel with the CPX module: Modem settings.
  857. As serial communications belong to the weakest parts of GEMDOS, problems
  858. did arise when serial printing together with applications that handle
  859. input-output redirection (e.g. Gemini). Output was sent to the screen in
  860. those cases ! This is no error in GEM Spooler, neither in one of the other
  861. programs: the trouble is TOS and its lack of serious I/O redirection.
  862. GEM Spooler v2.2 now uses device handle -2 for the serial port - as
  863. suggested by the new Atari ST ProfiBuch - to avoid these problems.
  864.  
  865.  
  866. 5. GEM Spooler support BBS
  867. --------------------------
  868.  
  869. Yes, we have a new service. All ST/TT/Falcon users who have a modem can
  870. now connect to the official GEM Spooler support BBS:
  871.  
  872.   Great Balls of Fire BBS, (+32)-16-640912  (BELGIUM)
  873.   
  874. Just login to this BBS and go to the GEMSpool support file area
  875. (Atari, #80). In this area, you have unlimited download time; in other
  876. words: you can download whatever you want !
  877. The GEMSpool support area contains the latest version of GEMSpool, the
  878. GEM Spooler documentation in TEX-DVI format and some related utilities.
  879. You can also leave mail on this BBS to Steven Van Rossen.
  880.  
  881.  
  882. 6. Credits
  883. ----------
  884.  
  885. We want to thank everybody who helped us to write GEM Spooler v2.2:
  886.  
  887. - Jan De Smedt, Patrick Op de Beeck and the people of Hobby Computer Club
  888.   Belgium Atari gg for their beta testing.
  889.  
  890. - Pascal Fellerich for his hints and suggestions and for his testing of
  891.   GEM Spooler on the TT.
  892.  
  893. - Julian F. Reschke for his monthly article "Atarium" in ST Magazin - where
  894.   we found lots of useful information on accessory programs - and for all
  895.   his efforts in promoting serious standards for ST/TT development (these
  896.   articles are a must for every programmer !)
  897.  
  898. - All authors of the Atari Profibuch (another must).
  899.  
  900. - Every registered GEM Spooler user !
  901.  
  902.  
  903. 7. Adresses
  904. -----------
  905.  
  906. If you have questions or remarks, you can always send these to (Belgium):
  907.  
  908.    Steven Van Rossen           or:     Marc Billiet
  909.    Gustaaf Garittestraat 22            Terlinckstraat 33
  910.    B-2600 Berchem                      B-2600 Berchem
  911.  
  912.    Electronic mail: Great Balls of Fire BBS (+32)-16-640912
  913.                     adressed to: Steven Van Rossen
  914.  
  915.  
  916. Write us !
  917.  
  918.  
  919.  
  920.                                Steven Van Rossen, July 1992
  921.  
  922.